﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace DAL.Migrations
{
    public partial class InitDB : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "yingxiaos",
                columns: table => new
                {
                    Id = table.Column<int>(type: "int", nullable: false)
                        .Annotation("SqlServer:Identity", "1, 1"),
                    leixing = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    biaoti = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    fubiaoti = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    tupian = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    kucun = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    xianling = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    tiaojian = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    jiner = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    shijian = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    xuzhi = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    mendian = table.Column<string>(type: "nvarchar(max)", nullable: false),
                    phone = table.Column<string>(type: "nvarchar(max)", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_yingxiaos", x => x.Id);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "yingxiaos");
        }
    }
}
